import React, { Component } from 'react'
import Child1 from './components/Child1'
import Child2 from './components/Child2'
import Child3 from './components/Child3'
import Child4 from './components/Child4'
/*
  1、编写observer.js
  2、调用observer中的dispatch完成发送信息
*/
export default class App extends Component {
 
  render() {
    return (
      <div style={{display:'flex'}}>
        <Child1></Child1>
        <Child2></Child2>
        <Child3></Child3>
        <Child4></Child4>
      </div>
    )
  }
}
